package com.rong.shop.mapper;

import com.rong.shop.pojo.AddressDistrict;
import com.rong.shop.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductMapper {

    List<Product> findAll();

    List<Product> findHot();

    Product findById(@Param("id") Integer id);
}
